

package top.continew.admin.question.mapper;

import org.apache.ibatis.annotations.Param;
import top.continew.admin.question.model.*;
import top.continew.admin.question.manger.service.model.UserQuestionInfoList;
import top.continew.starter.data.mp.base.BaseMapper;

import java.util.List;

public interface UserQuestionInfoMapper extends BaseMapper<UserQuestionInfo> {
    List<UserQuestion> queryUserTest(String testId);

    List<UserQuestion> queryUserSection(String typeId);

    List<QuestionInfoList> getQuestionInfoList(@Param("questionInfoQuery") QuestionInfoQuery questionInfoQuery);

    List<QuestionInfoUseInfo> getUserByQuestionSet(@Param("phone") String phone,
                                                   @Param("questionInfoId") String questionInfoId);

    List<UserQuestionInfoList> getUserQuestionInfoList(@Param("query") UserQuestionInfoQuery userQuestionInfoQuery);

    List<UserQuestionSetList> getQuestionSetByUser(@Param("name") String name, @Param("userId") String userId);
}
